﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:FruitWeigher"
	mc:Ignorable="d"
	x:Class="FruitWeigher.HighestScore"
	d:DesignWidth="480" d:DesignHeight="800">
<UserControl.Resources>
		<Storyboard x:Name="Ani_SHow">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut" Amplitude="0"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseOut" Amplitude="0"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="Ani_Hide">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GInterface" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
				<EasingDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
				<EasingDoubleKeyFrame KeyTime="00:00:01" Value="0">
					<EasingDoubleKeyFrame.EasingFunction>
						<BackEase EasingMode="EaseInOut"/>
					</EasingDoubleKeyFrame.EasingFunction>
				</EasingDoubleKeyFrame>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<Grid x:Name="LayoutRoot" Background="#33000000">
		<Grid x:Name="GInterface" Margin="8" RenderTransformOrigin="0.5,0.5">
			<Grid.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform/>
				</TransformGroup>
			</Grid.RenderTransform>
			<Rectangle Fill="White" Stroke="Black" StrokeThickness="12" RadiusX="19.5" RadiusY="19.5"/>
			<Rectangle Fill="White" Stroke="#FFFFCB58" StrokeThickness="2" RadiusX="19.5" RadiusY="19.5" Margin="34,30,34,28"/>
			<Button x:Name="Btn_Back" Content="Back" VerticalAlignment="Bottom" Margin="45,0,45,39" Foreground="Black" BorderBrush="Black" Style="{StaticResource ButtonStyle1}" FontFamily="Comic Sans MS" Height="121" FontSize="48"/>
			<TextBlock x:Name="HighestScore1" FontFamily="Comic Sans MS" FontSize="48" FontWeight="Bold" Text="9999" TextAlignment="Center" TextWrapping="Wrap" Foreground="#FF975A00" Margin="34,145,34,0" Height="73" VerticalAlignment="Top"/>
			<TextBlock FontFamily="Comic Sans MS" FontSize="48" FontWeight="Bold" TextAlignment="Center" TextWrapping="Wrap" Foreground="#FF975A00" Margin="34,81,34,0" Height="64" VerticalAlignment="Top" d:LayoutOverrides="VerticalAlignment"><Run Text="Highest"/><Run Text="Score:"/></TextBlock>
			<Rectangle Stroke="#FFFFCB58" StrokeThickness="2" RadiusX="19.5" RadiusY="19.5" Margin="64,226,64,164" StrokeDashArray="1 0 2 1"/>
			<TextBlock TextWrapping="Wrap" Foreground="#FF560606" Margin="80,240,80,176" FontSize="26" TextAlignment="Center"><Run Text="Try find out the most heavy fruit related to those situation."/><LineBreak/><Run Text="When you find out right fruit ,game will become more diffcute as well the score will be more;if not ,game will become easier."/></TextBlock>
			<local:UIItem0 HorizontalAlignment="Left" VerticalAlignment="Top" d:LayoutOverrides="Width, Height" Margin="42,190,0,0"/>
			<local:Weigher x:Name="WeigherShow" HorizontalAlignment="Right" VerticalAlignment="Top" d:LayoutOverrides="Width, Height" Margin="0,51,55,0"/>
		</Grid>
	</Grid>
</UserControl>